package com.jsz.peini.service.advertise;

import java.util.LinkedHashMap;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.jsz.peini.mapper.advertise.AdvertiseMapper;

@Service
public class AdvertiseService {
	@Resource
	private AdvertiseMapper advertiseMapper;
	
	public List<LinkedHashMap<String,Object>> getAdvertise(int adType){
		List<LinkedHashMap<String,Object>> advertiseList=advertiseMapper.getAdvertise(adType);
		return advertiseList;
	}
}
